<% %>
<!--login form-->
<form action='/admin/home/index' method=post>
<div id="login">
 <%=session[:msg]%>
<table width=400 align=center>
<tr> <td colspan=2><h2>Trikr administration</h2></td> </tr>
<tr>
  <td>
  <%='Username'.t%>:<br/>
  <%= text_field "user","username",:class=>"big_font" %></td>
</tr>
<tr>
  <td>
  <%='Password'.t%>:</br>
  <%= password_field "user","password",:size=>20%>
  </td>
</tr>
<tr>
  <td>
     <input type=submit value=<%="Login".t%> id=submit_login style="width:150px;height:30px;font-weight:bold;" onclick="this.form.submit();$('submit_login').disabled = true;Element.show('loading');"> 
     <span id=loading class=intro_txt style="display:none"><%="We will send you to the system".t%><%=image_tag"indicator.gif"%></span>
  </td>
</tr>
</table>
<a href ="https://www.google.com/a/trikr.com/ServiceLogin?service=CPanel&continue=https%3A%2F%2Fwww.google.com%3A443%2Fa%2Ftrikr.com%2FDashboard&passive=true" target=_blank>Trikr email</a>
</div>
</form>
